package com.zimmur.app.mocolink.domain.param;

public class GoodsParam {

	private Integer pageNo;
	private Integer pageSize=10;
	private Integer userId;
	private Integer minPrice;
	private Integer maxPrice;
	private Integer minimumQuantity;
	private Integer typeId;
	private Integer quarter;
	private String keyword;
	private Integer isSp;//是否推荐
	private String orderByClause;
	private Integer pageBeginNo;
	public Integer getPageNo() {
		return pageNo;
	}
	public void setPageNo(Integer pageNo) {
		this.pageNo = pageNo;
	}
	public Integer getPageSize() {
		return pageSize;
	}
	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public Integer getMinPrice() {
		return minPrice;
	}
	public void setMinPrice(Integer minPrice) {
		this.minPrice = minPrice;
	}
	public Integer getMaxPrice() {
		return maxPrice;
	}
	public void setMaxPrice(Integer maxPrice) {
		this.maxPrice = maxPrice;
	}
	public Integer getMinimumQuantity() {
		return minimumQuantity;
	}
	public void setMinimumQuantity(Integer minimumQuantity) {
		this.minimumQuantity = minimumQuantity;
	}
	public Integer getTypeId() {
		return typeId;
	}
	public void setTypeId(Integer typeId) {
		this.typeId = typeId;
	}
	public Integer getQuarter() {
		return quarter;
	}
	public void setQuarter(Integer quarter) {
		this.quarter = quarter;
	}
	public String getKeyword() {
		return keyword;
	}
	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}
	public String getOrderByClause() {
		return orderByClause;
	}
	public void setOrderByClause(String orderByClause) {
		this.orderByClause = orderByClause;
	}
	public Integer getPageBeginNo() {
		pageBeginNo = (pageNo-1)*pageSize;
		return pageBeginNo;
	}
	public void setPageBeginNo(Integer pageBeginNo) {
		this.pageBeginNo = pageBeginNo;
	}
	public Integer getIsSp() {
		return isSp;
	}
	public void setIsSp(Integer isSp) {
		this.isSp = isSp;
	}
	
}
